package org.tea.inventory.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author hanzy
 * @description
 * @date 2023年10月30日 16:33
 */
@Data
@ApiModel(value = "帖子查询条件")
public class PostRequset {

    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String loginId;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "帖子类型：1 图文 ，2视频 ，3文章，4投票 5.问卷调查")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "状态")
    private Integer status;

    private String state;

    @ApiModelProperty(value = "截止日期")
    private Date deadline;
}
